package com.upb.webserver.common.pojo.order;

import com.upb.webserver.common.enums.OrderStatusEnum;
import com.upb.webserver.common.enums.OrderTypeEnum;
import com.upb.webserver.common.enums.PlatformEnum;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class WorkOrderVO {

    private Integer id;

    private PlatformEnum createFromPlatform;

    private OrderTypeEnum orderType;
    /**
     * unhandled, finished, rejected, creating
     */
    private OrderStatusEnum orderStatus;
    /**
     * order's param detail, depend on different type of order
     * @format: json
     */
    private String detail;
    /**
     * id of creator of order
     */
    private Integer createBy;

    /**
     * id of modifier of order
     */
    private Integer modifyBy;
    /**
     * id of dev ops who close order
     */
    private Integer closeByDevops;

    /**
     * order's target table such as chain_fisco
     */
    private String targetTable;
    /**
     * id of order's target table such as chain_fisco
     */
    private Integer targetId;

}
